package com.study.clickhouse.service;

import com.study.clickhouse.model.VisitStatsDO;
import com.study.clickhouse.request.PageRequest;
import com.study.clickhouse.request.SelectRegionCityRequest;

import java.util.List;
import java.util.Map;

public interface VisitStatsService {

    /**
     * 分页查询
     * @param pageRequest
     * @return
     */
    Map<String, Object> selectPageClickhouse(PageRequest pageRequest);

    /**
     * 根据区域，城市查询
     * @param selectRegionCityRequest
     * @return
     */
    List<VisitStatsDO> selectByRegionCity(SelectRegionCityRequest selectRegionCityRequest);
}
